package task17;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/30 9:14
 * @description:
 */
public class Task17_2 {

  public static void main(String[] args) {
          int[] x={4,3,7};
        int[] y=new int[4];
        y[0]=1;
             y[1]=2;
            y[2]=x[2];
    System.out.println("");
    for(int i=0;i<y.length;i++){
      System.out.println(y[i]+"\t");
    }
    System.out.println();
    y=x;
    for(int i=0;i<y.length;i++) {
      System.out.println(y[i] + "\t");
    }
    System.out.println();
    x[0]=10;
    System.out.println("y[0]="+y[0]);
  }

}
